package com.lagou.studentsystem.model;

import java.util.Date;

public class Student {

    /**
     *  `stu_id` int(11) NOT NULL COMMENT '学号',
     *   `stu_name` varchar(50) NOT NULL COMMENT '姓名',
     *   `stu_sex` int(11) NOT NULL COMMENT '性别（1男 2女）',
     *   `stu_birthday` datetime DEFAULT NULL COMMENT '生日',
     *   `stu_email` varchar(100) DEFAULT NULL COMMENT '邮箱',
     *   `stu_remarks` varchar(255) DEFAULT NULL COMMENT '备注',
     */

    //学号
    private String stu_id;
    //姓名
    private String stu_name;
    //性别
    private String stu_sex;
    //生日
    private String stu_birthday;
    //邮箱
    private String stu_email;
    //备注
    private String stu_remarks;

    private String stu_class;

    public Student() {
    }

    public Student(String stu_id, String stu_name, String stu_sex, String stu_birthday, String stu_email, String stu_remarks,String stu_class) {
        this.stu_id = stu_id;
        this.stu_name = stu_name;
        this.stu_sex = stu_sex;
        this.stu_birthday = stu_birthday;
        this.stu_email = stu_email;
        this.stu_remarks = stu_remarks;
        this.stu_class = stu_class;
    }

    public String getStu_class() {
        return stu_class;
    }

    public void setStu_class(String stu_class) {
        this.stu_class = stu_class;
    }

    public String getStu_id() {
        return stu_id;
    }

    public void setStu_id(String stu_id) {
        this.stu_id = stu_id;
    }

    public String getStu_name() {
        return stu_name;
    }

    public void setStu_name(String stu_name) {
        this.stu_name = stu_name;
    }

    public String getStu_sex() {
        return stu_sex;
    }

    public void setStu_sex(String stu_sex) {
        this.stu_sex = stu_sex;
    }

    public String getStu_birthday() {
        return stu_birthday;
    }

    public void setStu_birthday(String stu_birthday) {
        this.stu_birthday = stu_birthday;
    }

    public String getStu_email() {
        return stu_email;
    }

    public void setStu_email(String stu_email) {
        this.stu_email = stu_email;
    }

    public String getStu_remarks() {
        return stu_remarks;
    }

    public void setStu_remarks(String stu_remarks) {
        this.stu_remarks = stu_remarks;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stu_id='" + stu_id + '\'' +
                ", stu_name='" + stu_name + '\'' +
                ", stu_sex='" + stu_sex + '\'' +
                ", stu_birthday='" + stu_birthday + '\'' +
                ", stu_email='" + stu_email + '\'' +
                ", stu_remarks='" + stu_remarks + '\'' +
                ", stu_class='" + stu_class + '\'' +
                '}';
    }
}
